package com.crm.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NonNull;

import javax.validation.constraints.*;

/**
 * @author zjd
 * @Title:
 * @Description:
 * @date 2021/4/210:58
 */
@Data
@ApiModel(value="MergeCompanyDTO", description="公司合并")
public class MergeCompanyDTO {


    @NotNull(message = "必填字段不能为空")
    @Min(value = 1,message = "最小值不能为0")
    @ApiModelProperty(value = "当前公司id")
    private Long companyId;


    @NotNull(message = "必填字段不能为空")
    @Min(value = 1,message = "最小值不能为0")
    @ApiModelProperty(value = "目标公司id")
    private Long targetCompanyId;
}
